page.tsx 356 B

123456789101112131415
  1. import { setRequestLocale } from "next-intl/server";
  2. import { FaqClient } from "./faq-client";
  3. type Props = { params: Promise<{ locale: string }> };
  4. export default async function FaqPage({ params }: Props) {
  5. const { locale } = await params;
  6. setRequestLocale(locale);
  7. return (
  8. <div className="page-shell">
  9. <FaqClient />
  10. </div>
  11. );
  12. }